{extend name="base" /}
{block name="body"}
<div class="layui-card">
    <div class="layui-card-body">
         <form action="" class="layui-form" method="post" onsubmit="return false;">
         <div class="layui-form-item">
                <label class="layui-form-label">查看图片</label>
                <div class="layui-input-inline">
                    <div class="layui-avatar-img" id="ajax-admin-avatar" style="line-height:60px;">
                        <input type="hidden" name="image" value="{$model.url|default=''}" autocomplete="off" placeholder="" class="layui-input">
                        <img id="image" src="{$model.url|default=seo('image')}" height="60" width="180">
                    </div>
                </div>
            </div>
        <div class="layui-form-item">
            <label class="layui-form-label">{:__('state')}</label>
            <div class="layui-input-block">
                <input type="radio" name="status" value="1" title="{:__('normal')}" {if isset($model.status) and $model.status==1}checked{/if}>
                <input type="radio" name="status" value="0" title="{:__('Disable')}" {if isset($model.status) and $model.status==0}checked{/if}>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"></label>
            <div class="layui-input-block">
                    <button class="layui-btn layui-btn-sm" lay-filter="save" lay-submit="">保存</button>
                    <button class="layui-btn layui-btn-sm layui-btn-danger close">关闭</button>
            </div>
        </div>
    </form>
    </div>
</div>
{/block}

